package com.xuanyuanxinyu.compose.ui.common

import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Check
import androidx.compose.material3.Icon
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import com.xuanyuanxinyu.res.R

/**
 * @FileName:
 * @Description:
 * @author ken.luo
 * @date 2023/4/4
 * @version V1.0
 * @email 424533553@qq.com
 */
@Composable
fun ArtistAvatar() {
    // 相当于frame布局
    Box {
        //        Image(bitmap = R.drawable.ic_launcher_background, contentDescription = "Artist image")
        Icon(
            Icons.Filled.Check,
            contentDescription = "Check mark",
            modifier = Modifier.fillMaxSize()
        )
        Text("Alfred Sisley101", modifier = Modifier.padding(12.dp))
        Text(stringResource(id = R.string.common_next), modifier = Modifier.padding(12.dp))
        Icon(Icons.Filled.Check, contentDescription = "Check mark")
    }
}

